home *** CD-ROM | disk | FTP | other *** search
Makefile | 2002-04-26 | 3.1 KB | 133 lines |
- #
- # $Id: makefile.vbcc68k,v 1.1.1.1 2000/04/07 19:44:48 tfrieden Exp $
- #
- # $Author: tfrieden $
- #
- # $Date: 2000/04/07 19:44:48 $
- # $Revision: 1.1.1.1 $
- #
- # Makefile for vbcc AmigaOS/68k by Frank Wille
- #
- # (C) 1999 by Hyperion Software
- # All rights reserved
- #
- # This file is part of the MiniGL library project
- # See the file Licence.txt for more details
- #
- #
-
- INCLUDE =
- DEBUG =
-
- CFLAGS = -O1 -speed -c99 $(INCLUDE) -cpu=68060 -fpu=68060 $(DEBUG)
-
- OP_CFLAGS = -O2 -speed -c99 $(INCLUDE) -cpu=68060 -fpu=68060 $(DEBUG)
-
-
- LIBS = -lm040 -lmgl -lextra -lcgfx
- LIBNAME = vlibm68k:mgl.lib
- DIR = Build
- EXENAME = GLTest
- EXESRC = src/GLTest.c
-
- DEMOS = GLTest warp varray varray2 gears mtex driverinfo rasonly
-
- CC=vc +m68kdb
- AR=join as
-
- LIBOBJ = $(DIR)/kprintf.o $(DIR)/init.o $(DIR)/glu.o \
- $(DIR)/fog.o $(DIR)/others.o $(DIR)/texture.o \
- $(DIR)/context.o $(DIR)/matrix.o $(DIR)/buf.o \
- $(DIR)/clip.o $(DIR)/draw.o \
- $(DIR)/aclip.o $(DIR)/array.o $(DIR)/elements.o
-
- all: $(LIBNAME) $(DEMOS)
-
- install:
- copy include/mgl/#?.h vinclude68k:mgl
-
- clean:
- delete force quiet $(DIR)/#?.o GLtest
-
- lib: $(LIBNAME)
- @echo "Done"
-
- INCS = src/sysinc.h include/mgl/clip.h include/mgl/config.h \
- include/mgl/context.h include/mgl/gl.h include/mgl/log.h \
- include/mgl/matrix.h include/mgl/minigl.h include/mgl/vertexbuffer.h
-
-
- driverinfo: demos/driverinfo.c $(LIBNAME)
- $(CC) $(CFLAGS) -o driverinfo demos/driverinfo.c $(LIBS)
-
- warp: demos/warp.c $(LIBNAME)
- $(CC) $(CFLAGS) -o warp demos/warp.c $(LIBS)
-
- varray: demos/varray_new.c $(LIBNAME)
- $(CC) $(CFLAGS) -o varray demos/varray_new.c $(LIBS)
-
- varray2: demos/varray.c $(LIBNAME)
- $(CC) $(CFLAGS) -o varray2 demos/varray.c $(LIBS)
-
- gears: demos/gears_stats.c $(LIBNAME)
- $(CC) $(CFLAGS) -o gears demos/gears_stats.c $(LIBS)
-
- mtex: demos/mtex.c $(LIBNAME)
- $(CC) $(CFLAGS) -o mtex demos/mtex.c $(LIBS)
-
- rasonly: demos/rasonly.c $(LIBNAME)
- $(CC) $(CFLAGS) -o rasonly demos/rasonly.c $(LIBS)
- $(LIBNAME): $(LIBOBJ)
- $(AR) $(LIBNAME) $(LIBOBJ)
-
- $(EXENAME): $(EXESRC) $(LIBNAME)
- $(CC) $(CFLAGS) -o $@ $(EXESRC) $(LIBS)
-
-
-
-
- $(DIR)/fog.o: src/fog.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/fog.c
-
- $(DIR)/init.o: src/init.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/init.c
-
- $(DIR)/kprintf.o: src/kprintf.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/kprintf.c
-
- $(DIR)/context.o: src/context.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/context.c
-
- $(DIR)/texture.o: src/texture.c $(INCS)
- $(CC) $(OP_CFLAGS) -c -o $@ src/texture.c
-
- $(DIR)/glu.o: src/glu.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/glu.c
-
- $(DIR)/others.o: src/others.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/others.c
-
- $(DIR)/aclip.o: src/aclip.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/aclip.c
-
- $(DIR)/elements.o: src/vertexelements.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/vertexelements.c
-
- $(DIR)/array.o: src/vertexarray.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/vertexarray.c
-
-
- $(DIR)/matrix.o: src/matrix.c $(INCS)
- $(CC) $(OP_CFLAGS) -c -o $@ src/matrix.c
-
- $(DIR)/clip.o: src/hclip.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/hclip.c
-
- $(DIR)/draw.o: src/draw.c $(INCS)
- $(CC) $(CFLAGS) -c -o $@ src/draw.c
-
- $(DIR)/buf.o: src/vertexbuffer.c $(INCS)
- $(CC) $(OP_CFLAGS) -c -o $@ src/vertexbuffer.c
-
-
-